.navBar {
  :global {
    .nav {
      position: relative;
      min-height: 20px;
      transition: all 0.25s;
      .more {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 20px;
        background: #f2f2f2;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 10px 10px;
        cursor: pointer;
        opacity: 1;
        transition: all 0.2s;
      }
      .nav-top {
        height: 0px;
        overflow: hidden;
        transition: all 0.25s;
      }
      &-main {
        overflow: hidden;
        padding: 20px;
        height: 60px;
        background: var(--yang-menu-navtop-bg-color);
        color: var(--yang-menu-navtop-text-color);
        box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .open-icon {
        cursor: pointer;
        font-weight: bold;
        position: relative;
        top: 1px;
      }
      &-left {
        display: flex;
        align-items: center;
      }
      &-right {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        .full-screen {
          cursor: pointer;
          padding: 0 10px;
          font-size: 18px;
          display: flex;
          align-items: center;
        }
        .theme {
          cursor: pointer;
          padding: 0 10px;
          font-size: 18px;
          display: flex;
          align-items: center;
        }
        .refresh {
          cursor: pointer;
          padding: 0 10px;
          font-size: 18px;
          display: flex;
          align-items: center;
        }
        .user {
          margin-left: 10px;
          display: flex;
          align-items: center;
        }
        .avatar-dropdown {
          display: flex;
          align-content: center;
          align-items: center;
          justify-content: center;
          justify-items: center;
          outline: none;
          color: var(--yang-menu-navtop-text-color);
          .esayIcon {
            transition: all 0.2s;
          }
          .rotage {
            transform: rotate(180deg);
          }
          .user-name {
            position: relative;
            display: flex;
            flex-shrink: 0;
            align-content: center;
            align-items: center;
            height: 40px;
            margin-left: 6px;
            line-height: 40px;
            cursor: pointer;
            span {
              max-width: 100px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }
        }
      }

      &-open {
        .nav-top {
          height: 60px;
        }
        .more {
          opacity: 0;
        }
      }
    }
  }
}